package com.sdx.console.base.dao;

import com.ibeetl.admin.core.entity.BaseEntity;
import com.sdx.console.base.entity.BaseUniv;
import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.engine.PageQuery;
import org.beetl.sql.core.mapper.BaseMapper;

import java.util.List;

/**
 * 院校 Dao
 */
@SqlResource("base.baseUniv")
public interface BaseUnivDao extends BaseMapper<BaseUniv>{
    public PageQuery<BaseUniv> queryByCondition(PageQuery query);
    public void batchDelBaseUnivByIds( List<String> ids);
    public List<BaseEntity> selectProvince();
    public List<BaseEntity> selectCityByProvId(Integer provinceId);
    public BaseUniv selectBaseUnivById(Integer univId);
    public void updateBaseUnivById(Integer univId,String columnName,Integer columnValue);
}